package Domain;

public class Seller extends Entity {
	private String name;
	private String email;
	private String phonenr;

	public Seller() {
	}

	public Seller(String name, String email, String phonenr) {
		super(-1);
		this.name = name;
		this.email = email;
		this.phonenr = phonenr;
	}
	
	public Seller(int id, String name, String email, String phonenr) {
		super(id);
		this.name = name;
		this.email = email;
		this.phonenr = phonenr;
	}

	@Override
	public String toString() {
		return "[Seller: (" + getId() + ") " + name + ", " + email + ", "
				+ phonenr + "]";
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhonenr() {
		return phonenr;
	}

	public void setPhonenr(String phonenr) {
		this.phonenr = phonenr;
	}
}
